package com.xxz.mapper;
import com.xxz.pojo.Department;
import org.springframework.stereotype.Repository;
import java.util.List;
@Repository
public interface DepartmentMapper {
    // 获取所有部门信息
    List<Department> getDepartments();
    // 通过id获得部门
    Department getDepartmentById(Integer id);

}
